remove graphics parts