fix error in generator MasterCuti