remove wrong directories