fixed showing the "close" button in search