fix if use_locale_filter is not set