fixes getreceipt and getinvoice links in agent menu although not
completely