minor fix (robotDetected)