Fix encoding issue
Fix creation and deletion of polygons