corrections in output formatting