prevent progress bar from falling back to zero