fix xml dump