same comment: same code present in DeprecatedInputFormatWrapper