model fix