Repaired a minor bug on complete graph creating