fix nav-bar search and fix simple location search