error in predict