autocompletion bug when refreshing app