Fixed the EEPROM functions.