fixed serial mode flash read bug