matric 3rd digit bug fixed