xml pretty print fn name fix