corrected the search text visibility