fix redraw