diff --git a/fslswapdim.cc b/fslswapdim.cc
index fa4c0c0cbf18420c99ab92f91ace30d977874473..d485859311c7943b2fe7f7c7939dfafcd7a97373 100644
--- a/fslswapdim.cc
+++ b/fslswapdim.cc
@@ -55,13 +55,13 @@ int fmrib_main(int argc,char *argv[])
     if (affmat.Determinant()<0.0) cout << "LR orientation changed" << endl;
     else cout << "LR orientation preserved" << endl;
     return 0;
-  } 
+  }
 
   if (affmat.Determinant()<0.0) {
     cout << "WARNING:: Flipping Left/Right orientation (as det < 0)" << endl;
   }
-  
-  invol.swapdimensions(newx,newy,newz);
+
+  invol.swapdimensions(newx,newy,newz,true);
 
   int retval=0;
   if (outname!="") {
@@ -70,17 +70,16 @@ int fmrib_main(int argc,char *argv[])
   return retval;
 }
 
-  
+
 int main(int argc,char *argv[])
 {
   string progname=argv[0];
-  if (argc<5) { 
+  if (argc<5) {
     print_usage(progname);
-    return -1; 
+    return -1;
   }
-  
+
   string inname = argv[1];
   // call the templated main
   return call_fmrib_main(dtype(inname),argc,argv);
 }
-