fix missing mongodb member declaration