fixed bug. change Collection.collection to Model.collection