Fix bug with unused parameter method of dist function in PredictResponse function