health-restore logic