fix for completed trees