diff --git a/core/API/Proxy.php b/core/API/Proxy.php
index <HASH>..<HASH> 100644
--- a/core/API/Proxy.php
+++ b/core/API/Proxy.php
@@ -480,7 +480,7 @@ class Proxy extends Singleton
         $hideLine = trim($hideLine);
         $hideLine .= ' ';
 
-        $token = strtok($hideLine, " ");
+	$token = trim(strtok($hideLine, " "), "\n");
 
         $hide = false;
fix annotations which were broken in case there was no space after anotation and new line character