fixed vector equals()