Small fixes to graphs