removes redundant folder