make node primary works