Fix remaining errors

Now the ifo generated works.
leftovers
Fixup
wip debugging