Fix progress bar on upload