templates directory problem.