debug load repaint