correct a segfault

from time to time, .elf with eeprom content fails to load