fixed transpose method