fix handling of links+content dependency