raft: minor change on code