fixed usage of getTransform