updated regex. fixed CATEGORIES/CATEGORY