fixed errors with render barcodes