Fix eeprom access