added error handling on map search page