fix custom_filters bug