revert apply_filter