it is needed until the mongodb-cursur is a mock