fix an error for bad substitution

Change-Id: I34d05c151f38ebba436f9cbfb0a84b390c9ac95d
Merge "fix an error for bad substitution"