Caching categories
fix issue with double execution