fixed issues with export, tallying progressbar