Fix to xml output button