added a no bridge check