fixed error in search, was not appending parameters