save and edit segment collection ok Fixes #6