fixed directory naming bug