removing redundant folders