Fixed grade.php