delete zero page
elf: add basic checks for proper binary type