typo in udf search query