tried to fix search problem