fix the map responsiveness