refactor health.

currently race test is failing