Fix for broken XML