fixed search bar and the functionality