Fixed issues on corrupt eeprom