make sure 'previous' is serialized so history is printed correctly.