fix search doctor bug