Updated doatomicparsley() to fix category assignment