intermediate
fixing super attributes
pattern model code gen re-enabled