fix enum_map::create method bug