fixed node cache and getNodesForWidget