clean redundancies