eek, fix silly problem in invoice sending refactoring