Fix grade_url method.