fixed an issue with verifying a signature with a public key with leading zeros