debugging redraw of te