fixes for graph