hacky to cut off autocomplete text