fixed a computation comparing the
number of mistakes made by certain components