fix title in templates