restore some probably-important stuff