semantic corrections in names in the generate_substitutions function