rebuild after cleanup