diff --git a/crpptbx/TCV/loadTCVdata.m b/crpptbx/TCV/loadTCVdata.m
index 02b149e0bc691b0dbc5009950a651d2e97cfb8c7..02f5cfa7b3b0412837962a54c205e942d7a04c4e 100644
--- a/crpptbx/TCV/loadTCVdata.m
+++ b/crpptbx/TCV/loadTCVdata.m
@@ -532,7 +532,7 @@ switch TCVkeywrdcase{index}
   case {'ne_edge','te_edge'}
     % ne or Te from Thomson.edge data on raw z mesh vs (z,t)
     mdsopen(shot);
-    if strcmp(TCVkeywrdcase{index},'ne')
+    if strcmp(TCVkeywrdcase{index},'ne_edge')
       nodenameeff='\results::thomson.edge:ne';
       tracetdi=tdi(nodenameeff);
       tracestd=tdi('\results::thomson.edge:ne:error_bar');
@@ -623,7 +623,7 @@ switch TCVkeywrdcase{index}
     % ne or Te from Thomson.Edge data on rho=sqrt(psi_normalised) mesh: (rho,t)
     mdsopen(shot);
     time=mdsdata('\results::thomson:times');
-    if strcmp(TCVkeywrdcase{index},'nerho')
+    if strcmp(TCVkeywrdcase{index},'nerho_edge')
       nodenameeff='\results::thomson.edge:ne';
       tracetdi=tdi(nodenameeff);
       if isempty(tracetdi.data)