fixed the duplicated words