fix dependency tracking for nested values