XML small bug fix