merge two patch