fix categories access