fixed class that hides the graph