fixing the remove button in search