validate stored value in eeprom