fixed coil status read bug