prepare to merge