fixed output formatting