fix category regex