bug when predictions are made