diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index 7c14248160244868be59f4720af606858e7b5faa..cc515708ff3ca0a4ad564e185b9223505664af58 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -341,7 +341,7 @@ if (iscell(mapping_for_tcv.expression) || isempty(strfind(mapping_for_tcv.expres
   % requires FBTE
   liuqe_version_eff = -1;
   liuqe_version = -1;
-  if isempty(findstr(mapping_for_tcv.expression,'tcv_eq'))
+  if isempty(findstr(mapping_for_tcv.expression,'tcv_eq')) && isempty(findstr(mapping_for_tcv.expression,'\'))
     % if tcv_eq in expression, liuqe target will be modified to FBTE below with regexprep
     begstr = 'tcv_eq( "';
     substr_liuqe = '", "FBTE" )';