repaint fix