Fixes progressbar error