fixed mergeResults