fixed the problem that uses ';' not ',' in the enum block.