fix fatigue date calculation