#1 directory creation fixed