fixed some mistakes in calculation of quality, fixed the fact that reps weren't being displayed