addEnum cleanup