fix the failure in special detect phase.