fixed mongdb cache error, close #129