fix textbox for layout