target selector bug fix