removed mongodb instance variable