fixed formatting for output