fix toplevel enum with imports #13