renamed billing template to invoices and session error bug