Fixed bug with adding link.