optimized load of categories