fixed transformation bug.