terminal nodes causing problems