fixed bug in difference grade score and other small things