correction for health data and analyze logic