unreg_node edited & use constant in node_view_reg_pid_sql