Fix consumer detection.