fixed some minore erros with xml output