Fix var names
Simplify handleNodeInput