clean up before new build