progress of fixing the LocateMe and Search bar function