fix setSubstitutions documentation