Fixed directory creation