fix init failure
more stuff for enum_formats