some bug fixes in the geojsonpopup