correcoes bugs HardGenerator