removing unwanted dir