progbar output formatting fix