Fixed the mergeClose error.