fix service templates