Removing debug code