fix xml attr conflict issue