removing debug tags