diff --git a/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java b/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
index 362391724e63d1963de17628330247db04ca0664..6c3486d93210131097e02526667a6104b2af15a8 100644
--- a/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
+++ b/src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
@@ -295,7 +295,7 @@ public class AServProtocolManager implements Service {
 	// register it
 	String id = alignmentCache.recordNewAlignment( al, true );
 	// if the file has been uploaded: discard it
-	if ( al != null && al != null ) {
+	if ( al != null ) {
 	    // try unlink
 	}
 	return new AlignmentId( params, newId(), serverId, id ,pretty );