fix internal state of clock stopped.