fix autocomplete

moved the class attribute in another commit, had to update the event selector