fix refresh issue with search
clear search term when visiting another route