fix missing dir