wal: save latest state into new WAL

fixes #1826 
remove this empty line.