fix progress bar being full at start