switche to servlet filter