fixed graph err in build