diff --git a/~dev_rating/application/classes/Controller/Handler/FileCreator.php b/~dev_rating/application/classes/Controller/Handler/FileCreator.php
index 7b4541be399e0a252eecfa6e9cf2720a003ef8cf..c8a70e8ffea1a54c9c55580610e7fb9cd181e8d6 100644
--- a/~dev_rating/application/classes/Controller/Handler/FileCreator.php
+++ b/~dev_rating/application/classes/Controller/Handler/FileCreator.php
@@ -681,8 +681,8 @@ class Controller_Handler_FileCreator extends Controller_Handler
                 return $this->formRateOfFive($attestationAdmission, $ratesSet['Exam'], $total, $examHold, $ratesSet['Option']);
             case 'grading_credit': {
                 // emulate exam to call formRateOfFive
-                $ratesSet['exam'] = 22;
-                $ratesSet['semester'] -= 22;
+                $ratesSet['Exam'] = 22;
+                $ratesSet['Semester'] -= 22;
                 $attestationAdmission -= 22;
                 $res = $this->formRateOfFive($attestationAdmission, $ratesSet['Exam'], $total, $examHold);
                 $t = $res[1];
diff --git a/~dev_rating/application/views/teacher/exam.twig b/~dev_rating/application/views/teacher/exam.twig
index 0573d9b11689e452736388d431f1444222196cee..140e55b2dfa4dc152114a92386d1fa2415a4a426 100644
--- a/~dev_rating/application/views/teacher/exam.twig
+++ b/~dev_rating/application/views/teacher/exam.twig
@@ -124,8 +124,8 @@
 					{% if group.isAttached == 1 %} {{ group.GradeTitle }} {% endif %}{{ group.GroupNum }} РіСЂСѓРїРїР°.
 					<span class="downloadExcelStatement" id="group_{{ group.GroupID }}">Скачать ведомость</span>
 					<select id="stageSelector_{{ group.GroupID }}" class="stageSelector">
-						<option value="0">До экзамена</option>
-						<option value="1" selected="selected">Экзамен</option>
+						<option value="0">До аттестации</option>
+						<option value="1" selected="selected">Аттестация</option>
 						<option value="2">Пересдача 1</option>
 						<option value="3">Пересдача 2</option>
 					</select>