removing all duplicate sentences