Tfo bug fix

This patch series tries to fix some bugs in alipay