Typo in badge detection