improving gml parser