fixed some bugs with the display of the number of defects