main is working but barcodes are misaligned