safe commit for elf