fixing cdata handling