fix input format regression