fixed crash w/ adaptive + tree + local linear