fix codegen
fix deprecations