commit before trying to add the location on the map