fixed some adherence rate calculations