adapt to new xgboost page