emitting warning when substitution is not possible