Fix transform method