add the before filter configuration back