fix target selection issue