cut last barcode characters