diff --git a/store/set_command.go b/store/set_command.go
index ac8e2cf58..6c2bd6885 100644
--- a/store/set_command.go
+++ b/store/set_command.go
@@ -7,7 +7,7 @@ import (
 )
 
 func init() {
-	raft.RegisterCommand(&CreateCommand{})
+	raft.RegisterCommand(&SetCommand{})
 }
 
 // Create command