remove unwanted directories