prevent crash if invoice has no client