partial fix for the collection's remove function, we still need to find a way to properly update compound node style