improve write wkts