remove extension directory