support distance key 't'
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java b/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java
index 49be6a0..bebc8f6 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/CosmasTree.java
@@ -783,9 +783,10 @@
 //				"#BEG(der /w3:5 Mann) /+w10 kommt",
 //				"&würde /w0 MORPH(V)",
 				"#NHIT(gehen /w1:10 voran)",
-				"#BED(der Mann , sa,-pa)"
+				"#BED(der Mann , sa,-pa)",
+				"Mann /t0 Frau"
 				};
-		CosmasTree.debug=true;
+//		CosmasTree.debug=true;
 		for (String q : queries) {
 			try {
 				System.out.println(q);
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/PoliqarpPlusTree.java b/src/main/java/de/ids_mannheim/korap/query/serialize/PoliqarpPlusTree.java
index b4f22a1..ececebd 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/PoliqarpPlusTree.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/PoliqarpPlusTree.java
@@ -449,10 +449,10 @@
 			}
 			if (relation.equals("=")) {
 				relation="eq";
-			}
-			if (relation.equals("!=")) {
+			} else 	if (relation.equals("!=")) {
 				relation="ne";
 			}
+			
 			String value = "";
 			ParseTree valNode = node.getChild(2);
 			String valType = QueryUtils.getNodeCat(valNode);
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
index 636888d..493758e 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
@@ -80,8 +80,8 @@
             i++;
             try {
                 System.out.println(q);
-                String ql = "cosmas";
-                jg.run(q, ql, System.getProperty("user.home") + "/" + ql + i + ".json");
+                String ql = "cosmas2";
+                jg.run(q, ql, System.getProperty("user.home") + "/" + ql + "_" + i + ".json");
                 System.out.println();
             } catch (NullPointerException npe) {
                 npe.printStackTrace();