Fixed reference to templates directory