Fix for directory problem.