actually calls the before filter (fixes last commit)