Removed // in addTemplateDir