diff --git a/applications/registration/src/correspondances.cpp b/applications/registration/src/correspondances.cpp
index 9b41a057235e39f12075bb9a9073d70728f05b2f..e5ca8a9148647d982a0c7de92f3af3482abe9d12 100644
--- a/applications/registration/src/correspondances.cpp
+++ b/applications/registration/src/correspondances.cpp
@@ -167,7 +167,7 @@ bool Correspondances::capture(cv::Mat &rgb1, cv::Mat &rgb2) {
 			if (d2_value < 39.0f) {
 				// Make PCL points with specific depth value
 				pcl::PointXYZ p2;
-				Eigen::Vector4f p2e = src_->point(x,y,d2_value);
+				Eigen::Vector4f p2e = targ_->point(x,y,d2_value);
 				p2.x = p2e[0];
 				p2.y = p2e[1];
 				p2.z = p2e[3];