Fixing Graph errors