fixing adherence rate bug