fixed bug in parallelization of uBoost