fix bug in redraw signal