fixed bugs on gmaps