fixed category association bug --KW