fix bug with wrong collection name