resolving unescaped ampersand