Fixed a bug in graph names