null check on the prediction engine