diff --git a/system/autoload/Mikrotik.php b/system/autoload/Mikrotik.php
index 5031fc83..a5c4e346 100644
--- a/system/autoload/Mikrotik.php
+++ b/system/autoload/Mikrotik.php
@@ -196,7 +196,7 @@ class Mikrotik
     public static function setPpoeUser($client, $user, $pass, $nuser= null){
         $printRequest = new RouterOS\Request('/ppp/secret/print');
         $printRequest->setArgument('.proplist', '.id');
-        $printRequest->setQuery(RouterOS\Query::where('name', $user['username']));
+        $printRequest->setQuery(RouterOS\Query::where('name', $user));
         $id = $client->sendSync($printRequest)->getProperty('.id');
 
         $setRequest = new RouterOS\Request('/ppp/secret/set');
diff --git a/version.json b/version.json
index 77d4c45b..54dc92bb 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
 {
-    "version": "2023.6.6",
-    "changes" : "Fixing registration without OTP, Username will not go to phonenumber"
+    "version": "2023.6.8",
+    "changes" : "Fixing registration without OTP, Username will not go to phonenumber, fix bug ppoe"
 }
\ No newline at end of file