Fixed bug in link attributes array