Does the behaviour change if your code explicitly calls setOutputFormat()?