Fix graph isHot detection
Tidy