debug autocomplte and map