diff --git a/include/otbMosaicFromDirectoryHandler.txx b/include/otbMosaicFromDirectoryHandler.txx
index ecb024bf7787edbeadbc1ed76ad97d3aa1c2fd51..4f6b427a5caf43856e28878651ad3a958c2b4796 100644
--- a/include/otbMosaicFromDirectoryHandler.txx
+++ b/include/otbMosaicFromDirectoryHandler.txx
@@ -83,9 +83,9 @@ MosaicFromDirectoryHandler<TOutputImage, TReferenceImage>
             defSpacing[0] *= 10;
             defSpacing[1] *= 10;
             resampler->SetDisplacementFieldSpacing(defSpacing);
-            resampler->SetInputKeywordList(reader->GetOutput()->GetImageKeywordlist());
+            // resampler->SetInputKeywordList(reader->GetOutput()->GetImageKeywordlist());
             resampler->SetInputProjectionRef(reader->GetOutput()->GetProjectionRef());
-            resampler->SetOutputKeywordList(m_RefImagePtr->GetImageKeywordlist());
+            // resampler->SetOutputKeywordList(m_RefImagePtr->GetImageKeywordlist());
             resampler->SetOutputProjectionRef(m_RefImagePtr->GetProjectionRef());
             resampler->SetOutputOrigin(m_RefImagePtr->GetOrigin());
             resampler->SetOutputSpacing(m_RefImagePtr->GetSignedSpacing());