Fixed search in firefox and safari