fixed bug: refresh page and wait 'uncaught exception: max seconds passed unable to execute function'