raft: set none to be 0

fixes #1000