Exception type fix for bridge and invalid ip fix