Make sure the output is valid before assuming everything is ok
Update node line