fixed output to format