format search bar