remove useless public key