quick and dirty fix for progressbar assertion error