fixed errors after update of mongodb and node modules