fix the foreign connection can't be forwarded