fixed typo error in escape_mode

fixed typo error in escape_mode