fix EEPROM save/erase