try to remove pubkey before pubkey check happens