fixed autocomple bug on addmatch