fix xml element close mark is missing