Fixed enum errors