fix missing directory