some bugfixes on google map and variables load sequence