fix transforming issue