noflas logic in health check