compatibility with smoothprogressbar > 0.3