fixed a minor bug in the transforms