remove invalid arg in treelib write_data