now only use unescaped slashes if it is defined