fix the health check