moves filter out of base template