#167 directory fix