fix nid