fixing the constant TF error..