fix typo bug in xml convert