fix paths for dmg