progress bar string formatting