fix code gen -for now
generate with new type translation