Improved lifetime control
Added lifetime check for node objects