fixed a transformation bug