fixed bug whereby EWKT was malformed.