fix undef pbar object error (heroku does not spawn progressbar)