mongo model fix