fix redraw screen issues