fix: public key number comparison