fix bug where one off line items will crash a webhook event