fixed enum errors