fix the loading screen and search