Fix for mongoose init with URI