graph visualisation fixed.