Fix error after recent change about bridges