getting rid of the search uri