fix hard-coded "/search" path