fix user profile ui and search nearest race condition