Fixes for progressbar