try to fix search bug