remove non-dmg stuff