fix gbdt bugs