fix health check