Fixed error in detection graph