pass context variables to filters