fixed bugs related to markers not showing up on map