removing duplicated folders