fixes output formatting