[DEBUG] prevent duplicated substitution.