some fixes in XML log generation