fix of uniform gradient boosting