adding escapes on characters