fix enderGenerator