health checks on production model; fix invalid ID problem in production model