TA: improved category check (new JAR)