fix for map click