Fix search page reload 