diff --git a/akadem.php b/akadem.php
index e29120b..85f0e3d 100644
--- a/akadem.php
+++ b/akadem.php
@@ -29,6 +29,7 @@ function setProfession($name, $type, $needMoney, $needLevel)
     if ($name == 'medic') $profId = 22;
     if (!empty($profId)) {
         db::c()->query('UPDATE `users` SET ?f = ?i, `money` = `money` - ?i WHERE `id` = ?i', 'prof' . $type, $profId, $needMoney, $_SESSION['uid']);
+        $user['prof'.$type] = true;
         return 'Вы получили профессию!';
     } else return 'Что-то пошло не так...';
 }
@@ -50,7 +51,7 @@ if ($get == 'exit') {
     <link href="css/secondary.css" rel="stylesheet"/>
 </head>
 <body>
-<div class="topRoomButtons">
+<div style="float: right;">
     <button onclick="location.href='main.php'">Обновить</button>
     <button onclick="location.href='?exit'">Вернуться</button>
 </div>