fixed add_polygon called