minor fixes to gml generator