fix empty progress value crash