fix collection bugs.
Merge pull request #6 from alfa-jpn/fix/collection

fix collection bugs.