fixed remove error in collection set method