fix way to get gml text