fixed some output formatting