BUG Fixed typo in enum code