correct transformation in "transform_and_view"