input_filter fix