Fixed bug in ProgressGenerator class