removed the repaint