More elf loader crashfix