trying to fix bug in search bar for iphone