Refactoring Journal::get_data.
minor change