add helper for autocomplete widget