don't use deprecated ProgressBar methods