fix the map view search bug