diff --git a/crpptbx/gdat.m b/crpptbx/gdat.m
index 825b5635595119f9d129f72bd59c40b1805d5c0f..2b718b38224b5c4f7f95e7b90a12a981adf94fe4 100644
--- a/crpptbx/gdat.m
+++ b/crpptbx/gdat.m
@@ -142,7 +142,7 @@ if ~exist('machine')
 end
 
 if (nargineff>=4 & ~isempty(varargin{2})); machine=varargin{2}; end
-machine
+%machine
 % load data from specified machine
 if ~exist('data_type'); data_type=[]; end
 if ~exist('shot') || isempty(shot); shot=-9; end
@@ -180,7 +180,7 @@ if doplot==1 && isfield(trace,'data') && length(trace.data)>1 && ~ischar(trace.d
   end
 elseif doplot==-1
   try
-    hold on
+    hold all
     child_h=get(gca,'child');
     nbplot=length(child_h);
     if length(size(trace.data))<=2