standardize directory