add new condition of check stop criterions