improved autocomplete w/ tab