getting rid of unwanted extensions