start progress bar at 0 after error