trying to fix append entries in raft