fixed output format problem.