bridge code fix