earlier merge fix in invoice