diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index d618cabb29f5b4dffefd81e0624d70f45860a489..35a660300454a1719bbe4044447e9b65ea2824f2 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -3758,7 +3758,6 @@ t_eq = t_psi(iround_os(t_psi,t_th));
 % seems it has an error during automtic postshot but not when rerunning manually, hence add some info to log
 try
   psi = psitbxtcv(gdat_data.shot,t_eq,'*0',psitbx_str);
-  aa=pp;
 catch ME
   warning('problems with: psi = psitbxtcv(gdat_data.shot,t_eq,''*0'',psitbx_str);');
   fprintf('\n%s%d\n','gdat_data.shot = ',gdat_data.shot);