remove graphic resources