fixed stupid bug with non having equals and hash code.