flatten node created