fix for wrapped lines breaking tree output