fixed xml output