fixed crash in graph
graph basic display works