fix predictor and response