fix allow_filter