ensure progress bars do not overfill