Fix enum string generation

Should be "ENUM_NAME" "enum_nick" not "enum_nick" "enum_nick".