ProgressMaxValue fix