fixed THE motherFUCKING bug in equals