counter measure against wrong equals implementation on key