Substitutions are synthetized correctly when tag typchecker is performed