move removeinputfilter to core