diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c
index fb6634e47..142dbd3a4 100644
--- a/client/cmdhfmf.c
+++ b/client/cmdhfmf.c
@@ -1570,13 +1570,11 @@ out:
 		uint8_t block[16] = {0x00};
 		for (uint8_t i = 0; i < sectorsCnt; ++i ) {
 			mfEmlGetMem(block, FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1, 1);
-			/*
 			if (e_sector[i].foundKey[0])
-				 memcpy(block, e_sector[i].keyA, 6);
+				num_to_bytes(e_sector[i].Key[0], 6, block);
 			if (e_sector[i].foundKey[1])
-				memcpy(block+10, e_sector[i].keyB, 6);			
+				num_to_bytes(e_sector[i].Key[1], 6, block+10);
 			mfEmlSetMem(block, FirstBlockOfSector(i) + NumBlocksPerSector(i) - 1, 1);
-			*/
 		}
 		PrintAndLogEx(NORMAL, "Found keys have been transferred to the emulator memory");
 	}