clean up all enum and related functions