extract category from rt on autocomplete item choose