Fix helper example when passing in inputFormat