fix transformation transpose bug