remove repeated clause