raft: set none to be 0

fixes #1000 
sure. #1062