correct bug free graph