fix collection edit