bugfix for collection operation