fix nordrassil generated code