finalize the input filters