fix the bugs in ff-to-ff munication