diff --git a/fsl_regfilt.cc b/fsl_regfilt.cc
index 5b9de46826f43abbb31dcae2748b1006731db605..0247205f141df753d263ad2702ac8e4b943622a4 100644
--- a/fsl_regfilt.cc
+++ b/fsl_regfilt.cc
@@ -112,6 +112,7 @@ void save4D(Matrix what, string fname){
 				tempVol.setmatrix(what.t(),mask);
 			else
 				tempVol.setmatrix(what,mask);
+			tempVol.setTR(TR);
 			save_volume4D(tempVol,fname);
 		}
 }