[FIX] deleting cached nodes when nodes are rebuilt