sanity cleanup