Fix bug resign TF