fix gpa calculation