diff --git a/MAC/APL/PAC/ITRFBeamServer/src/Beam.cc b/MAC/APL/PAC/ITRFBeamServer/src/Beam.cc
index 49a20a6d99dec203697ef9252936a8105f29c3df..9d5918669e59c5018c57b578819cba941501c106 100644
--- a/MAC/APL/PAC/ITRFBeamServer/src/Beam.cc
+++ b/MAC/APL/PAC/ITRFBeamServer/src/Beam.cc
@@ -79,7 +79,7 @@ void Beam::_resolveGaps()
 	while (iter != end) {
 		// is there a gap between the last endtime and the current begintime add a NIL pointing
 		if (iter->time() > endTime) {
-			Pointing	nilPointing(0.0 ,0.0, "NONE", endTime, int(iter->time()-endTime));
+			Pointing	nilPointing(0.0 ,0.0, "NONE", endTime, int(iter->time()-endTime.sec()));
 			itsPointings.insert(iter, nilPointing);
 		}