autocomplete working for publications plugin