diff --git a/crpptbx/TCV/gdat_tcv.m b/crpptbx/TCV/gdat_tcv.m
index fe0cb0616cdc4ec828edae975ec07d157dc7ecc8..c5bdef32c1436392cf3dbe542e0cf1e21e3e4566 100644
--- a/crpptbx/TCV/gdat_tcv.m
+++ b/crpptbx/TCV/gdat_tcv.m
@@ -1537,7 +1537,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
       end
       rmesh=psitdi.dim{1};
       zmesh=psitdi.dim{2};
-      zthom=mdsdata('dim_of(\thomson:te,1)');
+      zthom=mdsdata(['dim_of(\thomson' edge_str_dot ':te,1)']);
       zeffshift=zshift;
       % set zeffshift time array same as psitdi
       switch length(zeffshift)
@@ -2954,7 +2954,7 @@ if strcmp(data_request_eff(1:2),'ne')
     disp('***********************************************************************')
   end
 end
-z=mdsdata('\diagz::thomson_set_up:vertical_pos');
+z=mdsdata(['\diagz::thomson_set_up' edge_str_dot ':vertical_pos']);
 gdat_data.dim=[{z};{time}];
 gdat_data.dimunits=[{'Z [m]'} ; {'time [s]'}];
 gdat_data.x=z;