before filter param fix