Fixes node main ref.