correct detection error message