fix to pos invoice