fix journal.wait()