handle invalid barcode characters in slip creator