Fixes problem with gmaps