fix missing dirs