fixed a fubar on the graphs