fixed problems on the XML report