Mongoose fix