Fixed a little bug in the collection add viwe.