Fix relative directory problem.