rebuilding data with sanity