Fix template error of messages for service.