fix xml prettyprint