fix axis transformation