fixed InputFormat option, which was never working