fixed bug on map