fix changing collections