solve problem with merge