fixed bug causing firefox to ignore search event