invoices, fixes
moved to preload.js