fixed escape sequence for substitution