fix minor error in using xml fix