fix extract xml