output formatting corrections