remove mutating permutedims! from exports