maybe this fixes the graph issue