fix page change from search