improvements to health check