prevent error when autocomplete tags are not available (only on entry editor pages)