fixed reference to the data frame in Tokeshi