migration: removed bad autogenerated code