removing unwanted directory