fixed the prediction plot to match the upstream code