add setting of collection name fixed last two calls