wal: fix append entry