fix problems with bridge after merging,correct version with bridge now