removed test url from generate barcode method