user model fix