directory normalization