bugfix on collections' setData