Removing debug from link