display error value if grade is erroneous