output format fix