remove mergePairs