diff --git a/app/MetaGer.php b/app/MetaGer.php
index 2c8b4f9fe0ea59bfbf2e2eb9a62438dd0187d4a8..8a4c476ae94eb003db4f599eaf59d4db45b9f3ab 100644
--- a/app/MetaGer.php
+++ b/app/MetaGer.php
@@ -1065,7 +1065,7 @@ class MetaGer
 
     public function nextSearchLink()
     {
-        if (isset($this->next) && count($this->next['engines']) > 0) {
+        if (isset($this->next) && isset($this->next['engines']) && count($this->next['engines']) > 0) {
             $requestData         = $this->request->except(['page', 'out']);
             $requestData['next'] = md5(serialize($this->next));
             $link                = action('MetaGerSearch@search', $requestData);
diff --git a/app/Models/Searchengine.php b/app/Models/Searchengine.php
index c93d8ecbde39a2aa143c625f2460b1d884e0f3c3..934118dd49e51f6451443a539b1389ba3cfbaa0e 100644
--- a/app/Models/Searchengine.php
+++ b/app/Models/Searchengine.php
@@ -68,17 +68,20 @@ abstract class Searchengine
         } else {
             $q = $metager->getQ();
         }
-        $this->getString  = $this->generateGetString($q, $metager->getUrl(), $metager->getLanguage(), $metager->getCategory());
+        $this->getString = $this->generateGetString($q, $metager->getUrl(), $metager->getLanguage(), $metager->getCategory());
+        die($this->getString);
         $this->hash       = md5($this->host . $this->getString . $this->port . $this->name);
         $this->resultHash = $metager->getHashCode();
     }
 
     abstract public function loadResults($result);
 
-    public function getLast(MetaGer $metager, $result){
+    public function getLast(MetaGer $metager, $result)
+    {
 
     }
-    public function getNext(MetaGer $metager, $result){
+    public function getNext(MetaGer $metager, $result)
+    {
 
     }