 
     flag_str = @getFixedPolygon()
 
+    flag_str = "NOFIX" if !flag_str
+
     # console.log flag_str
-
-    flag_str = "NOFIX" if !flag_str
 
     @submitSingleFlag(e, flag_str)
 

      coordinates.pop()
    transposed = ([coord[1],coord[0]] for coord in coordinates)

    transposed = Simplify.whyattGeoJSON(transposed, maxCorners) if transposed.length > maxCorners

    if (!@geo)
      # console.table coordinates #, @currentGeo

      # same coordinate for the first and last point / redundant
      coordinates.pop()
    # if there's no change return false to leave as is
    # console.log p_array, coordinates
    return false if p_array.join(",") == coordinates.join(",")
    return "[[" + ("[#{p.join(",")}]" for p in p_array) + "]]"

