diff --git a/src/commands/profile.rs b/src/commands/profile.rs
index 22b6e7d122622d5716bb212c626b9f3c5ad9ccdb..bab33d5c737dc15ebc6f3571a0bcbc3dd2504824 100644
--- a/src/commands/profile.rs
+++ b/src/commands/profile.rs
@@ -749,7 +749,6 @@ async fn set_profile(
     let nsec = get_nostr_nsec(&keypair)?;
     
     // ---- START: Calculate g1pubv2 and g1pub for tags ----
-    let mut g1pubv2_for_tag: Option<String> = None;
     let mut g1pub_for_tag: Option<String> = None;
 
     let account_id: sp_core::crypto::AccountId32 = match &keypair {
@@ -757,7 +756,7 @@ async fn set_profile(
         KeyPair::Ed25519(pair) => pair.public().into(),
     };
     let gdev_ss58_address = account_id.to_ss58check_with_version(sp_core::crypto::Ss58AddressFormat::custom(42));
-    g1pubv2_for_tag = Some(gdev_ss58_address);
+    let g1pubv2_for_tag: Option<String> = Some(gdev_ss58_address);
 
     match cesium::compute_g1v1_public_key(&keypair) {
         Ok(pubkey_g1) => g1pub_for_tag = Some(pubkey_g1),