Fixed minor issue with link tool.