deleted an uneccesary repaint