rename resfilter to outfilter