Fixed bug in links