Remove raw_nodes global variable