fix message if pubkey to small