model init fix