befor check target