Fixing the transpose bug.