cleanup before rebuilding