fixed getting component when keyPath is set