Fixing issue https://github.com/paterik/BGBarcodeBundle/issues/4