fixing link_all for multiple identifiers