remove one dirname wrapper