restruct some enum