Fixing error in nodes