fixed program linking causing TF errors