refactor.
add tracing of times to trace the weired time out of sync issue.