flatten_transformations func
lib upgrade
flatten_transformations func
lib upgrade 2\\

fix