Add smart bridge detecter