fixed typo in search rest api