removing debug data