fix DirectoryNotFoundException