errors fixed for autocomplete exercise