xml bug correction