bugfix - error regarding matches when creating collection