fixed bug for google maps