Graph errors fixed