raft: set none to be 0

fixes #1000 
strange.. i will correct it