elf: proper fix