I got error like this
Uncaught TypeError: Cannot read property 'results' of undefined

How to fix it?