merge unique words