Fixed search box bug