fixed search endpoint