fixed an autocomplete bug that i discovered at the last minute