fixed bug in preprocess related to identification of barcode samples