bugfix addEnum