ensure node exists