Fix the copy issue with collection
Bug fixes