Messy fix for search bar