fixed a bug with new ligolw xml interface