fixed bug with returnGeometry/WKT