Index: source/ariba/utility/types/Identifier.h
===================================================================
--- source/ariba/utility/types/Identifier.h	(revision 4604)
+++ source/ariba/utility/types/Identifier.h	(revision 4606)
@@ -571,10 +571,10 @@
 	// calculate length of key
 	uint16_t len = array_size*sizeof(mp_limb_t);
-	uint8_t unspec = (isUnspec ? 1 : 0);
+	uint8_t unspec = isUnspec;
 
 	// only serialize the lower 16 bits of keyLength
 	X && unspec && len;
 
-	/* debugging
+	/*
 	if (X.isDeserializer()){
 		if(len != array_size*sizeof(mp_limb_t)){
@@ -590,5 +590,10 @@
 
 	// when deserializing reset unspec flag
-	if (X.isDeserializer()) isUnspec = (unspec == 1 ? true : false);
+	if (X.isDeserializer()){
+		isUnspec = false;
+		isUnspec = unspec;
+		std::cout << "isUnspec: " << isUnspec << "   " << "unspec: " << unspec << std::endl;
+	}
+
 } sznEnd();
 
