fix toplevel enum with imports #13

#13