examing node variable. an error occurs if its removed, and a warning if it stays