use straight before filter rather than controller