Okay, now I see the problem. It's actually the poor coding of the BIOS UDF that you're using (which looks like the one I wrote a couple years ago )

Okay, let me take a look at the UDF and see if I can fix it.