removing debug traces