fixed problem with autocompleted