fix search bug.
set config