manage overflow attributes for autocomplete