fixing excluded nodes