fix: mark node as expanded to avoid re-fetch