incomplete fixes to progressbar