remove useless code (no effect of forcing redrawing)