fix bridge error