minor fix in transform