fix search and field_search enabled at same time