removing console from mongo write