rebuild code arch