Trying to fix search text error