fix: restore undone changes