Fixed two equivalence errors