# Bug in Smart Component - Closest Object

**URL:** <https://tech-community.robotics.abb.com/t/bug-in-smart-component-closest-object/9732>\
**Category:** UpFeed\
**Created:** [October 5, 2020, 6:05am UTC](https://tech-community.robotics.abb.com/t/bug-in-smart-component-closest-object/9732 "2020-10-05T06:05:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetrB](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/petrb/32/248_2.png) [@PetrB](https://tech-community.robotics.abb.com/u/PetrB)\
**Post date:** [October 5, 2020, 6:05am UTC](https://tech-community.robotics.abb.com/t/bug-in-smart-component-closest-object/9732/1 "2020-10-05T06:05:45Z")

</div>

Hello,  
I encountered bug in Smart Component - Closest Object. When I reposition object, which I want to detect, it’s not being detected by Closest Object anymore. To fix this issue, I have to teach new target and insert it into path, instead of the old target.

[https://youtu.be/RfysLJ3a-zs](https://youtu.be/RfysLJ3a-zs)
