Fix serial number retrieval from EEPROM