fixed no function call & did node deconstructor