extend fact link substitution to cover multiple links