throw error if node isnt found