syntax fix in graph