fixbug submit search and prevent action on submit