fixed health check