remove random graphics class