fixing redraw text