fixed issue with maps.js