cleaning redundancies