fixed bug where search button disappears