[ issue1324 ] fixed: speculative inversion didn't reset the state properly