Fix transpose bug.