bugfix of segment point creation/edition