fixed enums appearing multiple times