Fixing the "wipe on reboot" bug.