Fix progress bar length