adds before filter protection