fix task: generate_nodes