fixing bug with backslash in messages or ampersand