fix bug of xml