To solve some merge problems