prevent crash when creating new invoice