Fix paths related to the search method