tweaking badIds caching