Fixing illegal reference to mongooe