diff --git a/core/src/main/java/com/crawljax/oraclecomparator/comparators/AttributeComparator.java b/core/src/main/java/com/crawljax/oraclecomparator/comparators/AttributeComparator.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/crawljax/oraclecomparator/comparators/AttributeComparator.java
+++ b/core/src/main/java/com/crawljax/oraclecomparator/comparators/AttributeComparator.java
@@ -27,7 +27,7 @@ public class AttributeComparator extends AbstractComparator {
 		String strippedDom = dom;

 		for (String attribute : ignoreAttributes) {

 			String regExp = "\\s" + attribute + "=\"[^\"]*\"";

-			strippedDom = dom.replaceAll(regExp, "");

+			strippedDom = strippedDom.replaceAll(regExp, "");

 		}

 		return strippedDom;

 	}
Bugfix: Apply all ignoreAttributes.

Found a bug where if there were more than one ignoreAttributes, only the last one was applied.