Fix padding conversion for accessing barcodes