Fixed bug with multiple links