added enter key to stop autocomplete