fix d8 card read bug