serialize tree fix