title fix in templates