change condition for judging the specific target