Fix url in search method