Enum fix

Fixed a mistake with the enum set.