removed identity comparison with ''
moved old entry point for 'node register'