fix issue with output format