fix for cdata formatting