fix output, fix progress bar start