Fix progress handling.