fix popup invoice