format the code
Fix a race condition in raft
remove a printf