Barcode field appears twice

when I change the the barcode to read only it appears twice like this

how I can solve this issue