Fix for torsion/torsion writing