bug solved, real graph working