merge composite key