embedded mongod usage now working properly