fix for XML