fix crash in ike format
fix crash in dmg format