add clear before redraw