Mongodb cache fix