fixed predictions_helper