fix text boxes after breaking them in segfault solve