Minor mod to merge_ere