Fix the buggy in transpose adaptor