bug fix: changed the statements containing TF constant to the proper DF constants