diff --git a/src/tinyrouter.class.php b/src/tinyrouter.class.php
index be9155c08de4cf49ee02957d4f9ebd1d2603102e..c0c7af42c81f2d3e08c7f847f1991345514b485f 100644
--- a/src/tinyrouter.class.php
+++ b/src/tinyrouter.class.php
@@ -1,7 +1,7 @@
 <?php
 /**
  * 
- * Axels first router
+ * IML TINY ROUTER
  * 
  * --------------------------------------------------------------------------------<br>
  * <br>
@@ -15,9 +15,9 @@
  * SERVICING, REPAIR OR CORRECTION.<br>
  * <br>
  * --------------------------------------------------------------------------------<br>
- * @version 1.1
+ * @version 1.2
  * @author Axel Hahn
- * @link https://github.com/iml-it/appmonitor
+ * @link https://git-repo.iml.unibe.ch/iml-open-source/tinyrouter-php-class
  * @license GPL
  * @license http://www.gnu.org/licenses/gpl-3.0.html GPL 3.0
  * @package -
@@ -69,7 +69,7 @@ class tinyrouter{
                 $bFoundRoute=false;
                 foreach($aParts as $sPart){
                     // detect @varname or @varname:regex in a routing
-                    if($sPart[0]=="@"){
+                    if(isset($sPart[0]) && $sPart[0]=="@"){
                         $sValue=$aReqParts[$iPart];
                         preg_match('/\@([a-z]*):(.*)/', $sPart, $match);