merge rebuild