save invoice url bug