manage node main entrance; fixes #19