Fix MapMerging Bug