fixed a bug where in Mongo shell console is not defined