fixed missing reference to data of chisq